Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 15 - Pick Objects / Pick Objects Reference
Constants


Pick Parts Masks

QuickDraw 3D defines pick parts masks to indicate the kinds of objects it has placed in the hit list. You use the face, vertex, and edge values to pick parts of meshes. To pick any other object, use the value kQ3PickPartsObject.

typedef enum TQ3PickPartsMasks {
   kQ3PickPartsObject                        = 0,
   kQ3PickPartsMaskFace                      = 1 << 0,
   kQ3PickPartsMaskEdge                      = 1 << 1,
   kQ3PickPartsMaskVertex                    = 1 << 2
} TQ3PickPartsMasks;
Constant descriptions

kQ3PickPartsObject
The hit list contains only whole objects.
kQ3PickPartsMaskFace
The hit list contains faces.
kQ3PickPartsMaskEdge
The hit list contains edges.
kQ3PickPartsMaskVertex
The hit list contains vertices.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996